package com.smartcommunity.entity.village;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotBlank;
import java.io.Serializable;
import java.util.Date;


@Data
@ApiModel
public class RealCompanyPeople implements Serializable {
    private static final long serialVersionUID = -1L;

    @ApiModelProperty(value="主键ID",name="id")
    private Integer id;

    @ApiModelProperty(value="小区编号",name="villageCode")
    private String villageCode;

    @ApiModelProperty(value="所属单位id",name="companyId")
    private String companyId;

    @NotBlank(message = "人员姓名不能为空！")
    @ApiModelProperty(value="人员姓名",name="name")
    private String name;

    @ApiModelProperty(value="人员性别",name="sex",example = "男")
    private String sex;

    @ApiModelProperty(value="证件类型",name="credentialType")
    private String credentialType;

    @ApiModelProperty(value="证件类型名称",name="credentialTypeCN")
    private String credentialTypeCN;

    @ApiModelProperty(value="证件号码",name="credentialNo")
    private String credentialNo;

    @ApiModelProperty(value="户籍地址",name="bornAddress")
    private String bornAddress;

    @ApiModelProperty(value="居住地址",name="liveAddress")
    private String liveAddress;

    @ApiModelProperty(value="电话号码",name="phone")
    private String phone;

    @ApiModelProperty(value="入职日期",name="entryDate")
    private String entryDate;

    @ApiModelProperty(value="职位名称",name="jobTitle")
    private String jobTitle;

    @ApiModelProperty(value="标签",name="label")
    private String label;

    @ApiModelProperty(value="备注",name="remark")
    private String remark;

    @ApiModelProperty(value="证件照",name="idCardPic")
    private String idCardPic;

    @ApiModelProperty(value="入库时间",name="mrowTime")
    private Date mrowTime;

    @ApiModelProperty(value="公司名称",name="companyName")
    private String  companyName;

    @ApiModelProperty(value="公司地址",name="companyAdress")
    private String  companyAdress;

    @ApiModelProperty(value="公司照片",name="companyPic")
    private String  companyPic;

    @ApiModelProperty(value="年龄",name="age")
    private Integer age;

    @ApiModelProperty(value="人员类型",name="peopleType")
    private String peopleType;

    @ApiModelProperty(value="省份",name="province")
    private String province;
}
